odoo.define('tuntex_DIS030_purchase_order_priority.form_widgets', function (require) {
    "use strict";
    var core = require('web.core');
    var _t = core._t;
    core.form_widget_registry.get("boolean_button").include({
        init: function () {
            this._super.apply(this, arguments);
            if (this.options["terminology"] == "emergent") {
                this.string_true = _t("Emergent");
                this.hover_true = _t("Set Normal");
                this.string_false = _t("Not Emergent");
                this.hover_false = _t("Set Emergent");
            }
        }
    });
});